package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.entity.Category;

import java.util.List;

public interface CategoryService {

    List<Category> findList();

    PageInfo findByPage(Integer pageNum, Integer pageSize, Integer cid, String keyword);

    void deleteBatch(Integer[] ids);

    Category getByid(String id);

    void saveOrUpdate(Category category);

    void deleteById(String id);

}
